Skip to content

topology/cmake: skip all topologies when alsatplg < 1.2.5 - #8377

Merged
kv2019i merged 2 commits into
thesofproject:mainfrom
marc-hb:alsatplg-min-125
Oct 24, 2023
Merged

kv2019i merged 2 commits into
thesofproject:mainfrom
marc-hb:alsatplg-min-125

Conversation

@marc-hb

@marc-hb marc-hb commented Oct 23, 2023 •

Copy link
Copy Markdown
Collaborator

Stop producing corrupted .tplg files when using codec_consumer (e.g.:
sof-imx8mp-btsco-dual-8ch.tplg, sof-imx8ulp-9x9-btsco-16k.tplg, ...)

Then we'll be able to finally search/replace "codec_master", see revert #5192

We want to use it in topology1 too.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Stop producing corrupted .tplg files when using `codec_consumer` (e.g.:
sof-imx8mp-btsco-dual-8ch.tplg, sof-imx8ulp-9x9-btsco-16k.tplg, ...)

Then we'll be able to finally search/replace "codec_master", see revert

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
# Being written in C, `alsatplg` silently ignores some invalid inputs
# and produces an corrupt .tplg file instead of returning an error code
# that fails the build. For instance, alsatplg versions < 1.2.5 silently
# corrupt `codec_consumer` and turn it into `codec_master` instead.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: some grammer tense issues

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the prompt review!

Could you be more precise about the grammar issues?

I found "produces A corrupt..." and nothing else (and that's not a tense). Google docs and MS Word don't find anything either.

@marc-hb

marc-hb commented Oct 24, 2023

Copy link
Copy Markdown
Collaborator Author

@lgirdwood lgirdwood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dbaluta fyi, this should help with some imx topologies.

@kv2019i
kv2019i merged commit 1b1ec6c into thesofproject:main Oct 24, 2023
@marc-hb
marc-hb deleted the alsatplg-min-125 branch October 31, 2023 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants